package com.xyh.flowershop.enums;

/**
 * @author 小约翰可汗
 * @className RoleEnum
 * @createTime 2024/10/415:02
 */
public enum RoleEnum {

    ADMIN(0, "管理员"),
    USER(1, "普通用户"),
    OTHER_ROLE(2, "其他角色");;

    private int code;

    private String desc;

    RoleEnum(int code, String desc) {}

    public int getCode() {
        return code;
    }
}
